//
//  MuyuViewController.h
//  CangLongWnnianli
//
//  Created by 暗流澎涌 on 2025/7/9.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <Masonry/Masonry.h>

NS_ASSUME_NONNULL_BEGIN

@interface MuyuViewController : UIViewController

@property (nonatomic, strong) UIImageView *backgroundImageView;
@property (nonatomic, strong) UIImageView *muyuImageView;
@property (nonatomic, strong) UIImageView *hammerImageView; // 新增木槌图片
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *autoKnockLabel;
@property (nonatomic, strong) UISwitch *autoKnockSwitch;
@property (nonatomic, strong) UIButton *moreStyleButton;
@property (nonatomic, strong) UIButton *autoIntervalButton;
@property (nonatomic, strong) UIButton *backButton;
@property (nonatomic, strong) NSTimer *autoKnockTimer;
@property (nonatomic, strong) AVAudioPlayer *audioPlayer;
@property (nonatomic, assign) NSInteger knockCount;
@property (nonatomic, assign) NSTimeInterval autoKnockInterval;

@end

NS_ASSUME_NONNULL_END
